﻿@{
    ViewBag.Title = "Login";
}

<h3>Login</h3>
 @if (ViewBag.LogError == true)
    {
        <div class="alert alert-danger" role="alert">Usuario o contrañesa incorrectos</div>
    }
    <label>
        <div class="panel panel-default">
            <div class="panel-heading">LOG IN</div>
            <div class="panel-body">
                <form method="post" action="@Url.Action("login", "Account")">
                    <label>
                        <input name="username" type="text" placeholder="Usuario" />
                        <input name="password" type="password" placeholder="Contraseña" />
                        <button type="submit" class="btn btn-default">LOGIN</button>
                    </label>
                </form>
            </div>
        </div>
    </label>